/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xygenealogy.form;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.core.pojo.base.entity.BaseEntity;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 谱文
 *
 * @author yanwei
 * @date 2023-05-05 15:44:28
 */
@Data
@ApiModel("谱文 实体")
public class XyGenealogyForm implements Serializable {


    /**
     *
     */
    @ApiModelProperty("谱文id")
    private String id;

    /**
     * 类目编号
     */
    @Excel(name = "类目编号")
    @ApiModelProperty("类目编号")
    @NotBlank(message = "谱文类目编号不可为空")
    private String cateId;



    /**
     * 家谱编号
     */
    @Excel(name = "家谱编号")
    @ApiModelProperty("家谱编号")
    @NotBlank(message = "家谱编号不可为空")
    private String logyId;


    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;


    /**
     * 图片封面
     */
    @Excel(name = "图片封面")
    @ApiModelProperty("图片封面")
    private String imgUrl;


    /**
     * 谱文富文本
     */
    @Excel(name = "谱文富文本")
    @ApiModelProperty("谱文富文本")
    private String content;





}
